<?php
/**
 * Created by PhpStorm.
 * User: zd
 * Date: 2018/10/8
 * Time: 11:31
 */

namespace app\api\validate;


class WorkNotifyParameter extends BaseValidate
{
    protected $rule=[
        'msg_signature'=>'require|isNotEmpty',
        'timestamp'=>'require|isNotEmpty',
        'nonce'=>'require|isNotEmpty',
        'echostr'=>'require|isNotEmpty'
    ];

    protected $message=[
        'msg_signature'=>'企业微信加密签名,不能为空',
        'timestamp'=>'时间戳不能为空',
        'nonce'=>'随机字符串不能为空',
        'echostr'=>'加密字符串不能为空'
    ];

}